<!--{template 'header'}-->
<!-- Container -->
<div id="container">
  <div class="shell">
    <!-- Main -->
    <div id="main">
      <div class="cl">&nbsp;</div>
      <!-- Content -->
      <div id="content">
        <!-- Box -->
        <div class="box">
          <!-- Box Head -->
          <div class="box-head">
            <h2>基本信息</h2>
          </div>
          <!-- End Box Head -->
          <form action="#" method="post">
            <!-- Form -->
			<div class="form">
			<table width="100%" border="0" cellspacing="4" cellpadding="2">
			  <tr>
				<td width="16%"><label>活动标题
				    <input name="raidid" type="hidden" id="raidid" value="$raid[r_id]" />
				</label></td>
				<td width="84%"><input name="r_title" type="text" class="field size1" id="r_title" value="$raid[r_title]" /></td>
			  </tr>
			  <tr>
				<td><label>DKP分类</label></td>
				<td>
					<select name="dkp_id" class="field size2" id="dkp_id">
					  <!--{echo html_options($opt_dkp, $raid[dkp_id])}-->
					</select>
				</td>
			  </tr>
			  <tr>
				<td><label>规则</label></td>
				<td>
				<select name="rule_id" class="field size2" id="rule_id">
					  <!--{echo html_options($opt_rules, $raid[rule_id])}-->
					</select>
				</td>
			  </tr>
			  <tr>
				<td><label>集合时间</label></td>
				<td><input name="r_muster_dt" type="text" class="field" id="r_muster_dt" value="{if $raid[r_muster_dt]}$raid[r_muster_dt]{else}{echo date('Y-m-d H:i:s')}{/if}" /></td>
			  </tr>
			  <tr>
				<td><label>开始时间</label></td>
				<td><input name="r_start_dt" type="text" class="field" id="r_start_dt" value="{if $raid[r_start_dt]}$raid[r_start_dt]{else}{echo date('Y-m-d H:i:s')}{/if}" /></td>
			  </tr>
			  <tr>
				<td><label>结束时间</label></td>
				<td><input name="r_end_dt" type="text" class="field" id="r_end_dt" value="{if $raid[r_end_dt]}$raid[r_end_dt]{else}{echo date('Y-m-d H:i:s')}{/if}" /></td>
			  </tr>
			  <tr>
				<td>&nbsp;</td>
				<td>&nbsp;</td>
			  </tr>
			  <tr>
				<td><label>说明</label></td>
				<td><textarea name="r_cmt" cols="50" rows="10" class="field1 size1" id="r_cmt">$raid[r_cmt]</textarea></td>
			  </tr>
			</table>
            </div>
            <!-- End Form -->
            <!-- Form Buttons -->
            <div class="buttons">
              <input type="submit" class="button" value="提交" />
              <input type="button" class="button" id="button" value="后退" onclick="history.back();" />
            </div>
            <!-- End Form Buttons -->

            
          </form>
        </div>
        <!-- End Box -->
      </div>
      <!-- End Content -->
      <!-- Sidebar -->
	  <!--{template 'raid_side'}-->
	  <!-- End Sidebar -->
      <div class="cl">&nbsp;</div>
    </div>
    <!-- Main -->
  </div>
</div>
<!-- End Container -->
<!--{template 'footer'}-->
<script>
$(document).ready(function(){
	 $('#r_muster_dt').datetime({
	 	userLang	: 'zh-CN',
		americanMode: false
	 });
	 $('#r_start_dt').datetime({
	 	userLang	: 'zh-CN',
		americanMode: false
	 });
	 $('#r_end_dt').datetime({
	 	userLang	: 'zh-CN',
		americanMode: false
	 });
});
</script>